package com.jie.show;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class User {


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    //属性要跟数据库字段对应，根据小驼峰命名 例如数据库NIKE_NAME 对应Java属性 nikeName   \ 数据库：ACCOUNT => Java：account
    private Integer id;
    private String name;
    private String account;
    private String password;
    private String token;
}
